<form action="<?php echo url_for('@login') ?>" method="post">
    <input type="hidden" id="hdPlatform" name="hdPlatform" value="<?php echo $platform ?>" />
    <input type="hidden" id="hdContinue" name="hdContinue" value="<?php echo $continue ?>" />
    <h1>Ingresa</h1>
    <table>
        <tr>
            <td>Correo Electr&oacute;nico</td>
            <td><input type="text" id="email" name="email" value="pedro.bazan.levano@gmail.com" /></td>
        </tr>
        <tr>
            <td>Password</td>
            <td><input type="password" id="password" name="password" value="123456" /></td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" value="Entrar" />
            </td>
        </tr>
    </table>
    <br />
    <?php if($sf_user->hasFlash('msg')){ ?>
    <h2><?php echo $sf_user->getFlash('msg') ?></h2>
    <?php } ?>
    <br />
    No tienes una cuenta practil?, <a href="<?php echo url_for('@registerForm') ?>">reg&iacute;strate</a>
    <br />o Conectate con<br />
    <a href="<?php echo url_for('@callOauthcallbackFacebookLogin') ?>">Facebook</a>
    &nbsp;
    <a href="<?php echo url_for('@callOauthcallbackGoogleLogin') ?>">Google</a>
</form>
<?php
$myLib = new myLib();

// now try it
$ua=$myLib->getBrowser();
echo $ua['ub'];
echo "<br />";
echo "Your browser: ".$ua['name']." ".$ua['version']." on ".$ua['platform'];
?>